<?php

namespace App\Model\System;


use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;
use Illuminate\Support\Facades\Auth;

class Organization extends Model
{
    const defaultImage = "/api/file?u=image/2b/15/Koala.jpg";

    public $table ='organizations';

    public $primaryKey = 'organizationuid';

    public $fillable= [
        'orgname',
        'orgaddress',
        'orgcode',
        'email',
        'icpcode',
        'businesslicense',
        'legalperson',
        'companytel',
        'courseminutes',
        'SID',
        'SafeKey',
        'eeourl',
        'eeocloudurl',
        'registerDefaultPwd',
        'agencyreferred',
        'agencylogo',
        'defaultCourseImage'
    ];
}
